//
//  EpointOACheckLoginTask.m
//  EpointFrame5
//
//  Created by 李亚春 on 13-12-6.
//  Copyright (c) 2013年 Epoint. All rights reserved.
//

#import "EpointOACheckLoginTask.h"
#import "MDUtil.h"
#import "HttpUtil.h"

@implementation EpointOACheckLoginTask

-(void)execute
{
    NSString *loginid = [params objectForKey:@"loginid"];
    NSString *psw = [params objectForKey:@"psw"];
    NSString *url = NSLocalizedString(@"Epoint_IM_Server", @"");
    
    NSString *im_server_url =  [NSString stringWithFormat:@"%@?InterfaceName=%@&loginId=%@&password=%@",url,@"checkLogin",loginid,[MDUtil authPassword:psw]];
    NSString *bs = [HttpUtil getZipStr:im_server_url];
    [self sendDataRefreshUI:bs];
}

@end
